package com.nmgydy.model;

import javax.persistence.*;

@Entity
@Table(name="cn_court")
public class Court {
	private Integer id;
	private String number;//案号
	private String caseType;//案件类型（1.民事案件 2.刑事案件 3.执行案件）
	private String name;//案件名称
	private String reason;//立案案由
	private String caseDate;//立案日期
	private String createTime;//创建时间
	private String updateTime;//更新时间
	private Integer taskId;//任务ID
	private String taskName;//任务名称
	private Integer totDays;//任务天数
	private Integer curDays;//当前天数
	private Integer userId;//操作人ID
	private String userName;//操作人
	private String status;//状态（1.进行中 2.已完成 3.已逾期）


	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getCaseType() {
		return caseType;
	}

	public void setCaseType(String caseType) {
		this.caseType = caseType;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getCaseDate() {
		return caseDate;
	}

	public void setCaseDate(String caseDate) {
		this.caseDate = caseDate;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public String getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getTaskId() {
		return taskId;
	}

	public void setTaskId(Integer taskId) {
		this.taskId = taskId;
	}

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public Integer getTotDays() {
		return totDays;
	}

	public void setTotDays(Integer totDays) {
		this.totDays = totDays;
	}

	public Integer getCurDays() {
		return curDays;
	}

	public void setCurDays(Integer curDays) {
		this.curDays = curDays;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
}
